package com.nsqt.biz.service.impl;

import com.nsqt.biz.dao.MaillistDao;
import com.nsqt.biz.domain.MaillistDO;
import com.nsqt.biz.service.MaillistService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class MaillistServiceImpl implements MaillistService {
    @Autowired
    private MaillistDao maillistDao;

    @Override
    public MaillistDO get(Integer id) {
        return maillistDao.get(id);
    }

    @Override
    public List<MaillistDO> list(Map<String, Object> map) {
        return maillistDao.list(map);
    }

    @Override
    public int count(Map<String, Object> map) {
        return maillistDao.count(map);
    }

    @Override
    public int save(MaillistDO maillist) {
        return maillistDao.save(maillist);
    }

    @Override
    public int update(MaillistDO maillist) {
        return maillistDao.update(maillist);
    }

    @Override
    public int remove(Integer id) {
        return maillistDao.remove(id);
    }

    @Override
    public int batchRemove(Integer[] ids) {
        return maillistDao.batchRemove(ids);
    }

}
